package com.hqyj.dao;

import com.hqyj.pojo.TbRepair;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 维修表 Mapper 接口
 * </p>
 *
 * @author gp
 * @since 2021-09-25
 */
@Repository
public interface TbRepairMapper extends BaseMapper<TbRepair> {

    @Select("select * from tb_repair where owner_name = #{ownerName}")
    List<TbRepair> RepairByOwnerName(String ownerName);
}
